package com.bw.wxy.mvp.contract;

import com.bw.wxy.mvp.model.entity.BaseEntity;
import com.bw.wxy.mvp.base.model.IModel;
import com.bw.wxy.mvp.base.view.IView;

import java.util.Map;

import io.reactivex.Observable;

public interface FrameContract {
    interface IFrameModel extends IModel{
        Observable<BaseEntity> request(Map<String,Object>map);
    }

    interface IFrameView extends IView{
        void refresh(Map<String,Object>resultMap);
    }
}